﻿using System;

namespace SilenthinkContract.Domain
{
    public class AuctionProduct : BaseEntity<long>
    {
        /// <summary>
        /// 拍品名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 产品Id
        /// </summary>
        public long ProductId { get; set; }
        /// <summary>
        /// 商品Id
        /// </summary>
        public Guid ProductVariantId { get; set; }
        /// <summary>
        /// 每次出价消耗金额
        /// </summary>
        public int Price { get; set; }
         /// <summary>
        /// 当前价格
        /// </summary>
        public decimal CurrentPrice { get; set; }
       /// <summary>
        /// 当前出价用户Id
        /// </summary>
        public long CurrentUserId { get; set; }
        /// <summary>
        /// 上架时间
        /// </summary>
        public DateTime OnlineTime { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime BeginTime { get; set; }
        /// <summary>
        /// 预期成交时间
        /// </summary>
        public DateTime? ExpectedTime { get; set; }
        /// <summary>
        /// 实际成交时间
        /// </summary>
        public DateTime? ActualTime { get; set; }
        /// <summary>
        /// 重置秒数
        /// </summary>
        public int Interval { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public byte Status { get; set; }
    }
}
